<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script type="text/javascript">
			k = 10;
			function test()
			{
				var k;
				k=20;
			}
			test();
			alert(k);
			
		</script>
		</head>
	<body>
	</body>
</html>
